import request from '@/utils/request'

//获取用户对该菜品评分接口
export const getUserRatingAPI = (id, page, pageSize) => {
  return request.get(`/admin/dish/getUserRating`, {
    params: {
      id, //某个菜品的id
      page, // 当前页码
      pageSize // 每页条数
    }
  })
}
